RichTextKit v0.4

Slice<T>.IndexOf Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Utils
Declaring Type: Slice<T>

Find the first index of a specified value

public int IndexOf(T value);

Parameters

T value

The value to search for

Returns

int

The index of the first occurance, or -1 if not found